import { http } from '@/utils/http'
//退库流程中提交接口
export function materialReturnSumit(data) {
  return http({
    url: `/api/production-rounds`,
    method: "post",
    data
  });
}
//工单编号反显接口
export const saomarequest1 = (workOrderCode) => {
  return http({
    url: `/api/production-rounds/work-order-info/${workOrderCode}`,
    method: 'get',
  })
}
//编号反显接口
export const saomarequest2 = (code) => {
  return http({
    url: `/api/production-rounds/code-info/${code}`,
    method: 'get',
  })
}